{extend name="public/base"}

{block name="title"}
合伙人首页
{/block}

{block name="style"}
{css href="/static/wechat/css/index.css" /}
{css href="/static/wechat/css/shop.css" /}
<style>
    .weui-flex__item {
        flex: .25;
    }
</style>
{/block}

{block name="body"}
<div class="pageControl shop-state">
    <div class="msui_nav msui_navTop">
        <h1 class="msui_navTop-title">摩邦合伙人</h1>
        <a class="msui_navTop-icon" href="{:url('message/index', ['type' => 3])}">
            <i class="micon-message3">
                <i class="weui-badge weui-badge_dot"></i>
            </i>

        </a>
    </div>
    <div class="weui-top">
        <div class="weui-cell weui1 weui-cell_access borderTop">
            <a class="weui-label" href="{:url('member_role_info/save_role_info', ['id' => $Think.session.member_id])}">
                <img src="{$member.headimgurl|get_img_url}" alt=""/>
            </a>

            <div class="weui-cell__bd">
                <p class="fs085">{$data.proposer}</p>
                <p class="cl-9999 fs065">{$data.phone|msubstr=3,0,'utf-8',false}****{$data.phone|msubstr=4,-4,'utf-8',false}</p>
            </div>
            <div class="weui-cell__ft"></div>
        </div>
        <div class="weui-cells">
            <div class="weui-cell weui2">
                <a class="weui-cell__bd" href="{:url('team/index')}">
                    <p>
                        <img src="/static/wechat/images/d2.png" alt=""/>
                    </p>
                    <p class="fs07 cl-9999">合伙人团队</p>
                </a>
                <a class="weui-cell__bd" href="{:url('team/repair_team')}">
                    <p>
                        {eq name="data.level" value="3"}
                            {gt name="data.repair_team.num" value="0"}
                            <i class="weui-badge">{$data.repair_team.num}</i>
                            {/gt}
                        {/eq}
                        <img src="/static/wechat/images/d3.png" alt=""/>
                    </p>
                    <p class="fs07 cl-9999">维修店管理</p>
                </a>
                <a class="weui-cell__bd" href="{:url('team/dealer_team')}">
                    <p>
                        {eq name="data.level" value="3"}
                            {gt name="data.dealer_team.num" value="0"}
                                <i class="weui-badge">{$data.dealer_team.num}</i>
                            {/gt}
                        {/eq}
                        <img src="/static/wechat/images/d4.png" alt=""/>
                    </p>
                    <p class="fs07 cl-9999">经销商管理</p>
                </a>
            </div>
        </div>
        <div class="weui-cells weui3">
            <a href="{:url('wallet/index')}" class="weui-cell weui-cell_access">
                <div class="weui-label">
                    <img src="/static/wechat/images/d5.png" alt=""/>
                </div>
                <div class="weui-cell__bd">
                    <span>钱包</span>
                </div>
                <div class="weui-cell__ft">
                    <span class="cl-fd5"></span>
                </div>
            </a>
            <a href="{:url('distribution/index')}" class="weui-cell weui-cell_access">
                <div class="weui-label">
                    <img src="/static/wechat/images/d6.png" alt=""/>
                </div>
                <div class="weui-cell__bd">
                    <span>我的分销</span>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            <a href="{:url('invitation/index')}" class="weui-cell weui-cell_access">
                <div class="weui-label">
                    <img src="/static/wechat/images/d7.png" alt=""/>
                </div>
                <div class="weui-cell__bd">
                    <span>邀请奖励</span>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            <a href="{:url('service/index')}" class="weui-cell weui-cell_access">
                <div class="weui-label">
                    <img src="/static/wechat/images/d8.png" alt=""/>
                </div>
                <div class="weui-cell__bd">
                    <span>客服</span>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
        </div>
        <div class="weui-cells weui3">
            <a href="{:url('set/index')}" class="weui-cell weui-cell_access">
                <div class="weui-label">
                    <img src="/static/wechat/images/d9.png" alt=""/>
                </div>
                <div class="weui-cell__bd">
                    <span>设置</span>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
        </div>
    </div>

</div>
{/block}
{block name="javascript"}

{/block}